home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / smlmes10.zip / SMLMESS.SCR < prev   
Text File  |  1988-04-01  |  3KB  |  71 lines

  1. '     SMLMESS    Example Script
  2. '
  3. '    This script is created to illustrate the use of scripts for the
  4. '    SmlMess Program.
  5. '
  6. '    Smlmess upon execution will default to the Messagebase configured
  7. '    as #1.  Normally, this will be the Main Message Base.  If you have
  8. '    it configured differently then you will need to use Command 1 to
  9. '    make whatever Messagebase you want to do Maintenance default.
  10. '
  11. '    Script Keys are needed (and accepted) everywhere except at Pause
  12. '    prompts  (Press any key to Continue) and Command #8 (Configure).
  13. '
  14. '    This file can be called by SMLMESS AUTO or by SMLMESS SMLMESS.SCR .
  15. '    Other Script file (.SCR) can be called by  SMLMESS  filename.SCR .
  16. '
  17. '    This method of scripting can be called   'Input key' script.  For
  18. '    instead of this program reading the keystrokes from you Keyboard
  19. '    it will read it from the Script File.
  20. '
  21. '
  22. '    This file is a sample script that can be used for Monthly
  23. '    Message Maintenance.
  24. '    It will erased all Public Messages that are more then 2 months old.
  25. '    and then Pack the Main MESSAGES base.
  26. '
  27. '
  28. '   Okay, on with the show...
  29. '
  30. '  Upon execution of the program, it will automatically use #1's conference
  31. '  as default.  Other conferences can easily be accessed via Command #1 using
  32. '  scripts.
  33. '  For keystrokes, after the text that you want to be fed into Smlmess, you
  34. '  do not need to put  CR  symbol.  Smlmess will automatically put one in.
  35. '   But, if you do want have any text, (like if you want it to simulate
  36. '      you pressing ENTER to select default), then you need to use the
  37. '      }   symbol.
  38. '
  39. '  Everything after the  '  is ignored.  Trailing and Leading Blanks are
  40. '  ignored as well.
  41. '
  42. '  The program is in the Main Menu. So, first you want to
  43. 3     '  which selects the Delete Messages Command
  44. N     '  which enters  N  at the   'Delete Bulletin Messages ' stuff
  45. Y     '  which enters  Y  at the   'Delete Public Messages only  stuff
  46. '        this line is totally ignored by smlmess, and it does not interrupt
  47. '        commands.   Okay, lets say todays date was 03/01/88, so 1 month ago
  48. 02/01/88     '  is 1 month ago.  so only messages on or before 02/01/88
  49.              '  are used.
  50. {            '  let it default to Nul(Nothing) for the  From  delete range
  51. {            '  let it default to Nul(Nothing) for the  To    delete range
  52. ' Okay, at this time messages should be deleted.
  53. ' Upon, completion of deleting message, smlmess will return to the main menu
  54. '
  55. '  okay, now to pack the message base
  56. '  first select
  57. 4      '  to select  Pack the message base
  58. Y      '  to Say   YES, you are sure you want to Pack the message Base.
  59. N      '  to say,  No,  so to Not  renumber the messages.
  60. ' okay, then it will be packed.
  61. ' now, what do you want to do ?
  62. '  if there are other message bases to be packed, then you need to
  63. '  put in the appropiate commands to (like Command#1) to choose another
  64. '  conference, and then repeat the above steps.  (But, of course without
  65. '  all these  comment lines because you got this down pat, right ??)
  66. '
  67. 9    '  to exit the program
  68.  
  69.  
  70.  
  71.